[
]
This definition is well defined. That is, the result is independent of the parametrization chosen. In the case where the real integral on the right side does not exist the integral along is said not to exist.
As a generalization of the Riemann integral
The generalization of the Riemann integral to functions of a complex variable is done in complete analogy to its definition for functions from the real numbers. The partition of a directed smooth curve is defined as a finite, ordered set of points on . The integral over the curve is the limit of finite sums of function values, taken at the points on the partition, in the limit that the maximum distance between any two successive points on the partition (in the two-dimensional complex plane), also known as the mesh, goes to zero.
Direct methods
Direct methods involve the calculation of the integral through methods similar to those in calculating line integrals in multivariate calculus. This means that we use the following method:
-
parametrizing the contour
-
: The contour is parametrized by a differentiable complex-valued function of real variables, or the contour is broken up into pieces and parametrized separately.
-
substitution of the parametrization into the integrand
-
: Substituting the parametrization into the integrand transforms the integral into an integral of one real variable.
-
direct evaluation
-
: The integral is evaluated in a method akin to a real-variable integral.
Example
A fundamental result in complex analysis is that the contour integral of is , where the path of the contour is taken to be the unit circle traversed counterclockwise (or any positively oriented Jordan curve about ). In the case of the unit circle there is a direct method to evaluate the integral
In evaluating this integral, use the unit circle as a contour, parametrized by , with , then and
which is the value of the integral. This result only applies to the case in which is raised to power of . If the power is not equal to , then the result will always be zero.
Applications of integral theorems
Applications of integral theorems are also often used to evaluate the contour integral along a contour, which means that the real-valued integral is calculated simultaneously along with calculating the contour integral.
Integral theorems such as the Cauchy integral formula or residue theorem are generally used in the following method:
-
a specific contour is chosen:
-
: The contour is chosen so that the contour follows the part of the complex plane that describes the real-valued integral, and also encloses singularities of the integrand so application of the Cauchy integral formula or residue theorem is possible
-
application of Cauchy's integral theorem
-
: The integral is reduced to only an integration around a small circle about each pole.
-
application of the Cauchy integral formula or residue theorem
-
: Application of these integral formulae gives us a value for the integral around the whole of the contour.
-
division of the contour into a contour along the real part and imaginary part
-
: The whole of the contour can be divided into the contour that follows the part of the complex plane that describes the real-valued integral as chosen before (call it ), and the integral that crosses the complex plane (call it ). The integral over the whole of the contour is the sum of the integral over each of these contours.
-
demonstration that the integral that crosses the complex plane plays no part in the sum
-
: If the integral can be shown to be zero, or if the real-valued integral that is sought is improper, then if we demonstrate that the integral as described above tends to 0, the integral along will tend to the integral around the contour .
-
conclusion
-
: If we can show the above step, then we can directly calculate , the real-valued integral.
Example 1
Consider the integral
To evaluate this integral, we look at the complex-valued function
which has singularities at and . We choose a contour that will enclose the real-valued integral, here a semicircle with boundary diameter on the real line (going from, say, to ) will be convenient. Call this contour .
There are two ways of proceeding, using the Cauchy integral formula or by the method of residues:
Using the Cauchy integral formula
Note that:
thus
Furthermore, observe that
Since the only singularity in the contour is the one at , then we can write
which puts the function in the form for direct application of the formula. Then, by using Cauchy's integral formula,
We take the first derivative, in the above steps, because the pole is a second-order pole. That is, is taken to the second power, so we employ the first derivative of . If it were taken to the third power, we would use the second derivative and divide by , etc. The case of to the first power corresponds to a zero order derivative—just itself.
We need to show that the integral over the arc of the semicircle tends to zero as , using the estimation lemma
where is an upper bound on along the arc and the length of the arc. Now,
So
Using the method of residues
Consider the Laurent series of about , the only singularity we need to consider. We then have
(See the sample Laurent calculation from Laurent series for the derivation of this series.)
It is clear by inspection that the residue is , so, by the residue theorem, we have
Thus we get the same result as before.
Contour note
As an aside, a question can arise whether we do not take the semicircle to include the other singularity, enclosing . To have the integral along the real axis moving in the correct direction, the contour must travel clockwise, i.e., in a negative direction, reversing the sign of the integral overall.
This does not affect the use of the method of residues by series.
Example 2 – Cauchy distribution
The integral
(which arises in probability theory as a scalar multiple of the characteristic function of the Cauchy distribution) resists the techniques of elementary calculus. We will evaluate it by expressing it as a limit of contour integrals along the contour that goes along the real number line from to and then counterclockwise along a semicircle centered at 0 from to . Take to be greater than , so that the imaginary number unit is enclosed within the curve. The contour integral is
Since is an entire function (having no singularities at any point in the complex plane), this function has singularities only where the denominator is zero. Since , that happens only where or . Only one of those points is in the region bounded by this contour. The residue of at is
According to the residue theorem, then, we have
The contour may be split into a "straight" part and a curved arc, so that
and thus
According to Jordan's lemma, if then
Therefore, if then
A similar argument with an arc that winds around rather than shows that if then
and finally we have this:
(If then the integral yields immediately to real-valued calculus methods and its value is .)
Example 3 – trigonometric integrals
Certain substitutions can be made to integrals involving trigonometric functions, so the integral is transformed into a rational function of a complex variable and then the above methods can be used in order to evaluate the integral.
As an example, consider
We seek to make a substitution of . Now, recall
and
Taking to be the unit circle, we substitute to get:
The singularities to be considered are at Let be a small circle about and be a small circle about Then we arrive at the following:
Example 3a – trigonometric integrals, the general procedure
The above method may be applied to all integrals of the type
where and are polynomials, i.e. a rational function in trigonometric terms is being integrated. Note that the bounds of integration may as well be and −, as in the previous example, or any other pair of endpoints 2 apart.
The trick is to use the substitution where and hence
This substitution maps the interval to the unit circle. Furthermore,
and
so that a rational function in results from the substitution, and the integral becomes
Therefore:
\int_C \frac{\sqrt z}{z^2+6z+8}\,dz=2\int_0^\infty \frac{\sqrt x}{x^2+6x+8}\,dx.
By using the residue theorem or the Cauchy integral formula (first employing the partial fractions method to derive a sum of two simple contour integrals) one obtains
\pi i \left(\frac{i}{\sqrt 2}-i\right)=\int_0^\infty \frac{\sqrt x}{x^2+6x+8}\,dx = \pi\left(1-\frac{1}{\sqrt 2}\right).\quad\square
Example 5 – the square of the logarithm
This section treats a type of integral of which
\int_0^\infty \frac{\log x}{\left(1+x^2\right)^2} \, dx
is an example.
To calculate this integral, one uses the function
f(z) = \left (\frac{\log z}{1+z^2} \right )^2
and the branch of the logarithm corresponding to .
We will calculate the integral of along the keyhole contour shown at right. As it turns out this integral is a multiple of the initial integral that we wish to calculate and by the Cauchy residue theorem we have
\begin{align}
\left( \int_R + \int_M + \int_N + \int_r \right) f(z) \, dz
= &\ 2 \pi i \big( \operatorname{Res}_{z=i} f(z) + \operatorname{Res}_{z=-i} f(z) \big) \\
= &\ 2 \pi i \left( - \frac{\pi}{4} + \frac{1}{16} i \pi^2 - \frac{\pi}{4} - \frac{1}{16} i \pi^2 \right) \\
= &\ - i \pi^2. \end{align}
Let be the radius of the large circle, and the radius of the small one. We will denote the upper line by , and the lower line by . As before we take the limit when and . The contributions from the two circles vanish. For example, one has the following upper bound with the ML lemma:
\left| \int_R f(z) \, dz \right| \le 2 \pi R \frac{(\log R)^2 + \pi^2}{\left(R^2-1\right)^2} \to 0.
In order to compute the contributions of and we set on and on , with :
\begin{align} -i \pi^2 &= \left( \int_R + \int_M + \int_N + \int_r \right) f(z) \, dz \\6pt
&= \left( \int_M + \int_N \right) f(z)\, dz && \int_R, \int_r \mbox{ vanish} \\6pt
&=-\int_\infty^0 \left (\frac{\log(-x + i\varepsilon)}{1+(-x + i\varepsilon)^2} \right )^2\, dx - \int_0^\infty \left (\frac{\log(-x - i\varepsilon)}{1+(-x - i\varepsilon)^2}\right)^2 \, dx \\6pt
&= \int_0^\infty \left (\frac{\log(-x + i\varepsilon)}{1+(-x + i\varepsilon)^2} \right )^2 \, dx - \int_0^\infty \left (\frac{\log(-x - i\varepsilon)}{1+(-x - i\varepsilon)^2} \right )^2 \, dx \\6pt
&= \int_0^\infty \left (\frac{\log x + i\pi}{1+x^2} \right )^2 \, dx - \int_0^\infty \left (\frac{\log x - i\pi}{1+x^2} \right )^2 \, dx && \varepsilon \to 0 \\
&= \int_0^\infty \frac{(\log x + i\pi)^2 - (\log x - i\pi)^2}{\left(1+x^2\right)^2} \, dx \\6pt
&= \int_0^\infty \frac{4 \pi i \log x}{\left(1+x^2\right)^2} \, dx \\6pt
&= 4 \pi i \int_0^\infty \frac{\log x}{\left(1+x^2\right)^2} \, dx \end{align}
which gives
\int_0^\infty \frac{\log x}{\left(1+x^2\right)^2} \, dx = - \frac{\pi}{4}.
Example 6 – logarithms and the residue at infinity
We seek to evaluate
I = \int_0^3 \frac{x^\frac34 (3-x)^\frac14}{5-x}\,dx.
This requires a close study of
f(z) = z^\frac34 (3-z)^\frac14.
We will construct so that it has a branch cut on , shown in red in the diagram. To do this, we choose two branches of the logarithm, setting
z^\frac34 = \exp \left (\frac34 \log z \right ) \quad \mbox{where } -\pi \le \arg z < \pi
and
(3-z)^\frac14 = \exp \left (\frac14 \log(3-z) \right ) \quad \mbox{where } 0 \le \arg(3-z) < 2\pi.
The cut of is therefore and the cut of is . It is easy to see that the cut of the product of the two, i.e. , is , because is actually continuous across . This is because when and we approach the cut from above, has the value
r^\frac34 e^{\frac34 \pi i} (3+r)^\frac14 e^{\frac24 \pi i} = r^\frac34 (3+r)^\frac14 e^{\frac54 \pi i}.
When we approach from below, has the value
r^\frac34 e^{-\frac34 \pi i} (3+r)^\frac14 e^{\frac04 \pi i} = r^\frac34 (3+r)^\frac14 e^{-\frac34 \pi i}.
But
e^{-\frac34 \pi i} = e^{\frac54 \pi i},
so that we have continuity across the cut. This is illustrated in the diagram, where the two black oriented circles are labelled with the corresponding value of the argument of the logarithm used in and .
We will use the contour shown in green in the diagram. To do this we must compute the value of along the line segments just above and just below the cut.
Let (in the limit, i.e. as the two green circles shrink to radius zero), where . Along the upper segment, we find that has the value
r^\frac34 e^{\frac04 \pi i} (3-r)^\frac14 e^{\frac24 \pi i} = i r^\frac34 (3-r)^\frac14
and along the lower segment,
r^\frac34 e^{\frac04 \pi i} (3-r)^\frac14 e^{\frac04 \pi i} = r^\frac34 (3-r)^\frac14.
It follows that the integral of along the upper segment is in the limit, and along the lower segment, .
If we can show that the integrals along the two green circles vanish in the limit, then we also have the value of , by the Cauchy residue theorem. Let the radius of the green circles be , where and , and apply the Estimation lemma. For the circle on the left, we find
\left| \int_{C_\mathrm{L}} \frac{f(z)}{5-z} dz \right| \le 2 \pi \rho \frac{\rho^\frac34 3.001^\frac14}{4.999} \in \mathcal{O} \left( \rho^\frac74 \right) \to 0.
Similarly, for the circle on the right, we have
\left| \int_{C_\mathrm{R}} \frac{f(z)}{5-z} dz \right| \le 2 \pi \rho \frac{3.001^\frac34 \rho^\frac14}{1.999} \in \mathcal{O} \left( \rho^\frac54 \right) \to 0.
Now using the Cauchy residue theorem, we have
(-i + 1) I = -2\pi i \left( \operatorname{Res}_{z=5} \frac{f(z)}{5-z} + \operatorname{Res}_{z=\infty} \frac{f(z)}{5-z} \right).
where the minus sign is due to the clockwise direction around the residues. Using the branch of the logarithm from before, clearly
\operatorname{Res}_{z=5} \frac{f(z)}{5-z} = - 5^\frac34 e^{\frac14 \log(-2)}.
The pole is shown in blue in the diagram. The value simplifies to
-5^\frac34 e^{\frac14(\log 2 + \pi i)} = -e^{\frac14 \pi i} 5^\frac34 2^\frac14.
We use the following formula for the residue at infinity:
\operatorname{Res}_{z=\infty} h(z) = \operatorname{Res}_{z=0} \left(- \frac{1}{z^2} h\left(\frac{1}{z}\right)\right).
Substituting, we find
\frac{1}{5-\frac{1}{z}} = -z \left(1 + 5z + 5^2 z^2 + 5^3 z^3 + \cdots\right)
and
\left(\frac{1}{z^3}\left (3-\frac{1}{z} \right )\right)^\frac14 = \frac{1}{z} (3z-1)^\frac14 = \frac{1}{z}e^{\frac14 \pi i} (1-3z)^\frac14,
where we have used the fact that for the second branch of the logarithm. Next we apply the binomial expansion, obtaining
\frac{1}{z} e^{\frac14 \pi i} \left( 1 - {1/4 \choose 1} 3z + {1/4 \choose 2} 3^2 z^2 - {1/4 \choose 3} 3^3 z^3 + \cdots \right).
The conclusion is that
\operatorname{Res}_{z=\infty} \frac{f(z)}{5-z} = e^{\frac14 \pi i} \left (5 - \frac34 \right ) = e^{\frac14 \pi i}\frac{17}{4}.
Finally, it follows that the value of is
I = 2 \pi i \frac{e^{\frac14 \pi i}}{-1+i} \left(\frac{17}{4} - 5^\frac34 2^\frac14 \right) = 2 \pi 2^{-\frac12} \left(\frac{17}{4} - 5^\frac34 2^\frac14 \right)
which yields
I = \frac{\pi}{2\sqrt 2} \left(17 - 5^\frac34 2^\frac94 \right) = \frac{\pi}{2\sqrt 2} \left(17 - 40^\frac34 \right).
Evaluation with residue theorem
Using the residue theorem, we can evaluate closed contour integrals. The following are examples on evaluating contour integrals with the residue theorem.
Using the residue theorem, let us evaluate this contour integral.
\oint_C \frac{e^z}{z^3}\,dz
Recall that the residue theorem states
\oint_{C} f(z) dz=2\pi i\cdot \sum\operatorname{Res}(f,a_k) ,
where \operatorname{Res} is the residue of f(z), and the a_k are the singularities of f(z) lying inside the contour C (with none of them lying directly on C).
f(z) has only one pole, 0. From that, we determine that the residue of f(z) to be \tfrac{1}{2}
\begin{align}
\oint_C f(z) dz&=\oint_C \frac{e^z}{z^3}dz\\
&=2\pi i \cdot \operatorname{Res}_{z=0} f(z)\\
&=2\pi i\operatorname{Res}_{z=0} \frac{e^z}{z^3}\\
&=2\pi i \cdot \frac{1}{2}\\
&=\pi i
\end{align}
Thus, using the residue theorem, we can determine:
\oint_C \frac{e^z}{z^3} dz = \pi i.
Multivariable contour integrals
To solve multivariable contour integrals (i.e. , complex volume integrals, and higher order ), we must use the divergence theorem. For now, let \nabla \cdot be interchangeable with \operatorname{div}. These will both serve as the divergence of the vector field denoted as \mathbf{F}. This theorem states:
\underbrace{\int \cdots \int_U}_n \operatorname{div}(\mathbf{F}) \, dV = \underbrace{ \oint \cdots \oint_{\partial U} }_{n-1} \mathbf{F} \cdot \mathbf{n} \, dS
In addition, we also need to evaluate \nabla\cdot \mathbf{F} where \nabla \cdot \mathbf{F} is an alternate notation of \operatorname{div} (\mathbf{F}). The divergence of any dimension can be described as
\begin{align}
\operatorname{div}(\mathbf{F}) &=\nabla\cdot\mathbf{F}\\
&= \left(\frac{\partial}{\partial u}, \frac{\partial}{\partial x}, \frac{\partial}{\partial y}, \frac{\partial}{\partial z}, \dots \right) \cdot (F_u,F_x,F_y,F_z,\dots)\\
&=\left(\frac{\partial F_u}{\partial u} + \frac{\partial F_x}{\partial x} + \frac{\partial F_y}{\partial y} + \frac{\partial F_z}{\partial z} + \cdots \right)
\end{align}
Example 1
Let the vector field \mathbf{F}=\sin(2x)\mathbf{e}_x+\sin(2y)\mathbf{e}_y+\sin(2z)\mathbf{e}_z and be bounded by the following
{0\leq x\leq 1} \quad {0\leq y\leq 3} \quad {-1\leq z\leq 4}
The corresponding double contour integral would be set up as such:
We now evaluate \nabla\cdot\mathbf{F}. Meanwhile, set up the corresponding triple integral:
\begin{align}
&=\iiint_V \left(\frac{\partial F_x}{\partial x} + \frac{\partial F_y}{\partial y} + \frac{\partial F_z}{\partial z}\right) dV\\6pt
&=\iiint_V \left(\frac{\partial \sin(2x)}{\partial x} + \frac{\partial \sin(2y)}{\partial y} + \frac{\partial \sin(2z)}{\partial z}\right) dV\\6pt
&=\iiint_V 2 \left(\cos(2x) + \cos(2y) + \cos(2z)\right) dV \\6pt
&=\int_{0}^{1}\int_{0}^{3}\int_{-1}^{4} 2(\cos(2x)+\cos(2y)+\cos(2z))\,dx\,dy\,dz \\6pt
&=\int_{0}^{1}\int_{0}^{3}(10\cos(2y)+\sin(8)+\sin(2)+10\cos(z))\,dy\,dz\\6pt
&=\int_{0}^{1}(30\cos(2z)+3\sin(2)+3\sin(8)+5\sin(6))\,dz\\6pt
&=18\sin(2)+3\sin(8)+5\sin(6)
\end{align}
Example 2
Let the vector field \mathbf{F}=u^4\mathbf{e}_u+x^5\mathbf{e}_x+y^6\mathbf{e}_y+z^{-3}\mathbf{e}_z, and remark that there are 4 parameters in this case. Let this vector field be bounded by the following:
{0\leq x\leq 1} \quad {-10\leq y\leq 2\pi} \quad {4\leq z\leq 5} \quad {-1\leq u\leq 3}
To evaluate this, we must utilize the divergence theorem as stated before, and we must evaluate \nabla\cdot\mathbf{F}. Let dV = dx \, dy \, dz \, du
\begin{align}
&=\iiiint_V \left(\frac{\partial F_u}{\partial u} + \frac{\partial F_x}{\partial x} + \frac{\partial F_y}{\partial y} + \frac{\partial F_z}{\partial z}\right)\,dV\\6pt
&=\iiiint_V \left(\frac{\partial u^4}{\partial u} + \frac{\partial x^5}{\partial x} + \frac{\partial y^6}{\partial y} + \frac{\partial z^{-3}}{\partial z}\right)\,dV\\6pt
&=\iiiint_V }\,dV \\6pt
&= \iiiint_V }\,dV \\6pt
&=\int_{0}^{1}\int_{-10}^{2\pi}\int_{4}^{5}\int_{-1}^{3} \frac{4 u^3 z^4 + 5 x^4 z^4 + 5 y^4 z^4 - 3}{z^4}\,dV\\6pt
&=\int_{0}^{1}\int_{-10}^{2\pi}\int_{4}^{5}\left(\frac{4(3u^4z^3+3y^6+91z^3+3)}{3z^3}\right)\,dy\,dz\,du\\6pt
&=\int_{0}^{1}\int_{-10}^{2\pi}\left(4u^4+\frac{743440}{21}+\frac{4}{z^3}\right)\,dz\,du\\6pt
&=\int_{0}^{1} \left(-\frac{1}{2\pi^2}+\frac{1486880\pi}{21}+8\pi u^4+40 u^4+\frac{371720021}{1050}\right)\,du\\6pt
&=\frac{371728421}{1050}+\frac{14869136\pi^3-105}{210\pi^2}\\6pt
&\approx{576468.77}
\end{align}
Thus, we can evaluate a contour integral with n=4. We can use the same method to evaluate contour integrals for any vector field with n>4 as well.
Integral representation
In complex analysis, an integral representation expresses a function as a contour integral in the complex plane. Such representations are central to the theory of holomorphic functions and are closely tied to the fundamental theorems of complex integration.
One of the most important examples is Cauchy's integral formula, which provides a way to reconstruct an analytic function from its values on a surrounding contour:
f(z) = \frac{1}{2\pi i} \oint_\gamma \frac{f(\zeta)}{\zeta - z} \, d\zeta
Where f is a function holomorphic on and inside the simple closed contour \gamma, z is a point inside \gamma, and \zeta is the variable of integration. This formula shows that the values of f inside the contour are determined by its values along the contour.
Examples
Inverse Laplace transform
The inverse Laplace transform is defined by a complex contour integral known as the Bromwich integral:
f(t) = \frac{1}{2\pi i} \int_{\gamma - i\infty}^{\gamma + i\infty} e^{st} F(s) \, ds
This integral expresses a function f(t) in terms of its Laplace transform F(s).
Sinc function representation
The following integral gives a representation the sinc function:
\frac{\sin x}{x} = \frac{1}{\pi} \int_0^\infty \cos(xt) \, dt
Although this is a real integral, methods from contour integration are often used in its derivation or evaluation.
Gamma function
The Gamma function has the following integral representation:
\Gamma(z) = \int_0^\infty t^{z-1} e^{-t} \, dt \quad \text{for } \operatorname{Re}(z) > 0
Extensions of this definition involve contour integrals in the complex plane.
Riemann zeta function
The original definition of the Riemann zeta function \zeta(s) via a Dirichlet series,
\zeta(s)=\sum^{\infty}_{k=1}\frac{1}{k^s} ,
is only valid for \operatorname{Re}(s)>1, but
\zeta(s)=\dfrac{\Gamma(1-s)}{2\pi i}\int_H \dfrac{(-t)^{s-1}}{e^{t}-1}dt ,
where the integration is done over the Hankel contour H, is valid for all complex s not equal to 1.
Applications
Integral representations are used to evaluate definite integrals, derive function identities, and solve differential equations. They also appear in complex asymptotic analysis, potential theory, and mathematical physics.
See also
-
Residue (complex analysis)
-
Cauchy principal value
-
Poisson integral
-
Pochhammer contour
Further reading
-
; reprinted, 1968,
-
Marko Riedel et al., Problème d'intégrale, Les-Mathematiques.net, in French.
-
Marko Riedel et al., Integral by residue, math.stackexchange.com.
-
W W L Chen, Introduction to Complex Analysis
-
Various authors, sin límites ni cotas, es.ciencia.matematicas, in Spanish.
External links